Preferences

The preference attributes in your Preferences allow you to customize certain aspects and of SNiFF+ and its tools:

- appearance
- tool-specific settings
- default project attributes settings for new projects
- version and configuration management interface
- file types
- platform-specific settings
- other preferences

There are two levels of preferences in your Preferences:

- user preferences (stored in

$HOME/.sniffrc/UserPrefs.sniff on Unix and in %SNIFF_DIR%\Profiles\<Username>\UserPrefs.sniff on Windows)
- site preferences (stored in
$SNIFF_DIR/SitePrefs.sniff on Unix and in %SNIFF_DIR%/SitePrefs.sniff on Windows)
The site level preference file with default values is delivered with SNiFF+; an empty user preferences file is created in your home directory when you start SNiFF+ the first time.
Whenever SNiFF+ reads a preference attribute, it first searches at the user level, and if the value there is not specified, it takes the value from the site preferences. If you have write permissions to access the SitePrefs.sniff file, there are two tabbed pages in your Preferences, a User tab and a Site tab. To make site level changes, select the Site tab.

| Caution
| The preferences files are marked-up ASCII files that contain a data schema in front of the actual data. These files should be modified with the Preferences dialog. If you modify them manually, be very careful that you do not corrupt the structure of the files.

| Note
| If you are working in some directory other than the SNiFF+ installation directory, set the environment variable SNiFF_RESOURCE_DIR to this directory before starting SNiFF+. When set, the user specific preferences files will be added to this directory.